package com.cnhis.cloudhealth.clinical.hosdoctor.inpatients.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.cnhis.cloudhealth.clinical.hosdoctor.inpatients.bo.InpatientsBo;
import com.cnhis.cloudhealth.commons.Mappers.ModelVo;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Map;

/**
 * Created by xiezhenyuan on 2016/3/25.
 */
@Service
public class InpatientsImpl implements IInpatients {

    @Autowired
    private InpatientsBo inpatientsBo;

    @Override
    public ModelVo getUserWinPerm(Map<String, Object> map) throws Exception {
        return inpatientsBo.selectUserWinPerm(map);
    }

    @Override
    public ModelVo getFieldSetting() throws Exception {
        return inpatientsBo.selectFieldSetting();
    }

    @Override
    public ModelVo getJobZone(Map<String, Object> map) throws Exception {
        return inpatientsBo.selectJobZone(map);
    }

    @Override
    public ModelVo getChargeMode() throws Exception {
        return inpatientsBo.selectChargeMode();
    }

    @Override
    public ModelVo getPathManner() throws Exception {
        return inpatientsBo.selectPathManner();
    }

    @Override
    public ModelVo getAreaAndDep(Map map) throws Exception {
        return inpatientsBo.selectAreaAndDep(map);
    }

    @Override
    public ModelVo getPathExecuter() throws Exception {
        return inpatientsBo.selectPathExecuter();
    }

    @Override
    public ModelVo getPublicParameter(Map<String,Object> map) throws Exception {
        return inpatientsBo.selectPublicParameter(map);
    }

    @Override
    public ModelVo getPatientList(Map map,int pageno,int pagesize) throws Exception {
        return inpatientsBo.selectPatientList(map,pageno,pagesize);
    }

    @Override
    public ModelVo getOldPatientList(Map map,int start,int length) throws Exception {
        return inpatientsBo.selectOldPatientList(map,start,length);
    }

    @Override
    public ModelVo getPatientBedList(Map map,int pageno,int pagesize) throws Exception {
        return inpatientsBo.selectPatientBedList(map,pageno,pagesize);
    }

    @Override
    public ModelVo getPLimitTime(Map map) throws Exception {
        return inpatientsBo.selectPLimtTime(map);
    }

    @Override
    public ModelVo getPnotpay(Map map) throws Exception {
        return inpatientsBo.selectPnotpay(map);
    }

    @Override
    public ModelVo getPhosno(Map map) throws Exception {
        return inpatientsBo.selectPhosno(map);
    }

    @Override
    public ModelVo getPcondition(Map map) {
        return inpatientsBo.selectPcondition(map);
    }

    @Override
    public ModelVo getPnameandinput(Map map) {
        return inpatientsBo.selectPnameandinput(map);
    }

    @Override
    public ModelVo getPselfdef(Map map) {
        return inpatientsBo.selectPselfdef(map);
    }

    @Override
    public ModelVo getPatientcount(Map map) {
        return inpatientsBo.selectPatientcount(map);
    }
}
